<!--
描述：教学安排-排课设置维护组件
开发人：hqj
开发日期：2018年8月3日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="courseArrangement" title='排课设置信息' v-bind:targetURL="targetURL"
        v-bind:bizDialog="bizDialog" v-bind:btnList="btnList" v-bind:toolbarBtnList="toolbarBtnList"
        v-bind:isFixedColumn="isFixedColumn")
            template(slot="tableColumnSlot")
                el-table-column(prop="classWeeks" label="学期上课周数" align="center" width="280px")
                el-table-column(prop="classPerWeekDays" label="周排课天数" align="center" width="280px")
                el-table-column(prop="classMorningSections" label="上午日排课节数" align="center" width="280px")
                el-table-column(prop="classAfternoonSections" label="下午日排课节数" align="center" width="280px")
                el-table-column(prop="classEveningSections" label="晚上日排课节数" align="center" width="280px")
</template>

<script type="text/ecmascript-6">
    import {CourseArrangementURL, CourseArrToolButtonList} from '../../config.toml'

    export default {
        name: 'kalix-educational-coursearrangement',
        data() {
            return {
                btnList: CourseArrToolButtonList,
                toolbarBtnList: [
                    {id: 'add', isShow: false}
                ],
                targetURL: CourseArrangementURL,
                bizDialog: [
                    {id: 'view', dialog: 'CourseArrangementView'},
                    {id: 'edit', dialog: 'CourseArrangementAdd'}
                ],
                isFixedColumn: true
            }
        },
        components: {},
        activated() {
        },
        deactivated() {
        }
    }
</script>

<style scoped lang="stylus">
</style>
